package com.gtenacg.cartoonservice.mapper;

import com.gtenacg.cartoonservice.pojo.model.RelationNovelAuthor;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 86198
 * @description 针对表【gt_relation_novel_author(小说作者联系表)】的数据库操作Mapper
 * @createDate 2024-05-22 08:46:33
 * @Entity com.gtenacg.cartoonservice.pojo.model.RelationNovelAuthor
 */
@Mapper
//@CacheNamespace
public interface RelationNovelAuthorMapper {

    List<RelationNovelAuthor> getByNids(List<Integer> nids);

    List<RelationNovelAuthor> list();

    List<RelationNovelAuthor> search(
            @Param("nid") Integer nid,
            @Param("aid") Integer aid
    );

    void insert(RelationNovelAuthor relationNovelAuthor);

    void update(RelationNovelAuthor relationNovelAuthor);

    void delete(List<Integer> ids);
}




